<script>
	export default {
		onLaunch: () => {
			console.log('App Launch')
			// wx.loadFontFace({
			// 	family: 'DIN',
			// 	source: 'url("https://www.bjqzbs.cn/uploads/DIN.TTF")',
			// 	global: true,
			// 	success: (res) => {
			// 		console.log(res.status, 111111111)
			// 	},
			// 	fail: (res) => {
			// 		console.log(res.status, 222222222)
			// 	},
			// 	complete: (res) => {
			// 		console.log(res.status, 33333333333)
			// 	}
			// });
			console.log('App Launch2222222222')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalData: {
			tabParams: null
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';

	/* #endif */
	@font-face {
		font-family: "PingFang-Medium";
		src: url('https://xcx.bjqzbs.cn/uploads/20250716/PingFang-Medium.ttf') format('truetype');
	}

	// 设置整个项目的背景色
	page {
		background-color: #F9F9F9 !important;
		font-family: "PingFang-Medium";
		font-weight: 500;
	}

	.container {
		font-family: "PingFang-Medium";
		font-weight: 500;
	}

	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}

	.u-flex {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	/* 换行 */
	.u-flex-wrap {
		flex-wrap: wrap;
	}

	/* 不换行 */
	.u-flex-nowrap {
		flex-wrap: nowrap;
	}

	/* 垂直居中 */
	.u-col-center {
		align-items: center;
	}

	/* 顶部对齐 */
	.u-col-top {
		align-items: flex-start;
	}

	/* 底部对齐 */
	.u-col-bottom {
		align-items: flex-end;
	}

	/* 左边对齐 */
	.u-row-left {
		justify-content: flex-start;
	}

	/* 水平居中 */
	.u-row-center {
		justify-content: center;
	}

	.u-row-evenly {
		justify-content: space-evenly;
	}

	/* 右边对齐 */
	.u-row-right {
		justify-content: flex-end;
	}

	/* 水平两端对齐，项目之间的间隔都相等 */
	.u-row-between {
		justify-content: space-between;
	}

	/* 水平每个项目两侧的间隔相等，所以项目之间的间隔比项目与父元素两边的间隔大一倍 */
	.u-row-around {
		justify-content: space-around;
	}

	.u-line-1 {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.u-l-1 {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.u-line-2 {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	.u-line-3 {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
</style>